package com.tgy.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Data
@Component
@PropertySource("classpath:/database.properties")
public class Person {

  @Value("${jdbc.name}")
  private String name;



}
